package com.example.demo.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

<<<<<<< HEAD
@ApiModel(description = "栏目信息数据模型")
public class CmsCategory {
	@ApiModelProperty(value = "栏目编号")
    private String id;

	@ApiModelProperty(value = "父栏目编号")
    private String pid;

	@ApiModelProperty(value = "栏目名称")
    private String name;

	@ApiModelProperty(value = "栏目描述")
    private String info;

	@ApiModelProperty(value = "栏目排序序号")
    private Integer sortPoint;
    
	@ApiModelProperty(value = "父栏目名称")
    private String pname;
    
    public void setPname(String pname) {
    	this.pname = pname;
    }
    public String getPname() {
    	return pname;
    }
    

    public String getId() {
=======
@ApiModel(description = "栏目信息")
public class CmsCategory {
	@ApiModelProperty(value = "栏目编号")
    private String id;
	
	@ApiModelProperty(value = "父栏目编号")
    private String pid;
	
	@ApiModelProperty(value = "栏目名称")
    private String name;
	
	@ApiModelProperty(value = "栏目描述")
    private String info;
	
	@ApiModelProperty(value = "栏目排序序号")
    private Integer sortPoint;
	
	@ApiModelProperty(value = "父栏目名称")
    private String pname;
    
    public String getPname() {
		return pname;
	}

	public void setPname(String pname) {
		this.pname = pname;
	}

	public String getId() {
>>>>>>> c827499e8bb31ca32bc4e6604c6b0e46aefc968e
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid == null ? null : pid.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info == null ? null : info.trim();
    }

    public Integer getSortPoint() {
        return sortPoint;
    }

    public void setSortPoint(Integer sortPoint) {
        this.sortPoint = sortPoint;
    }
}